package com.relytosoft.mizar.media.common.config.properties;

import com.relytosoft.mizar.media.common.constant.PropertyConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 开阳安防系统音视频转码配置信息
 *
 * @Author SunLi
 * @Date: 2022/4/15 11:07
 * @Version 1.0
 */
@ConfigurationProperties(prefix = PropertyConstants.PROPERTY_MIZAR_TRANS)
public class MizarTransProperties {
    private String openApiUrl;
    private String playUrl;
    private String appSecret;

    public String getOpenApiUrl() {
        return openApiUrl;
    }

    public void setOpenApiUrl(String openApiUrl) {
        this.openApiUrl = openApiUrl;
    }

    public String getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(String playUrl) {
        this.playUrl = playUrl;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    @Override
    public String toString() {
        return "MizarTransProperties{" +
                "openApiUrl='" + openApiUrl + '\'' +
                ", playUrl='" + playUrl + '\'' +
                ", appSecret='" + appSecret + '\'' +
                '}';
    }
}
